package com.sendi.system.bean;

import java.util.ArrayList;
import java.util.List;

import com.sendi.system.entity.Functionmoudle;
import com.sendi.system.service.ServiceSupportImp;

/*
 * 桌面快捷方式
 */
public class DeskTopShutCut {
	public ServiceSupportImp serviceSupportImp;
	public ArrayList<Functionmoudle> getShutcut()
	{
		ArrayList<Functionmoudle>  re=new ArrayList<Functionmoudle>();
		String hql="from Functionmoudle where 1=1 and isleaf='on' and  addshutcut='on'  ";
		List d=serviceSupportImp.findByHQL(hql);
		for(Object o:d)
		{
			re.add((Functionmoudle)o);
		}
	 	return re;
	}
	public ServiceSupportImp getServiceSupportImp() {
		return serviceSupportImp;
	}
	public void setServiceSupportImp(ServiceSupportImp serviceSupportImp) {
		this.serviceSupportImp = serviceSupportImp;
	}
}
